/**
 * Created by HUANG on 2016/1/21.
 */
'use strict';
angular.module('nec-admin.teacher', [])
    .config(['$stateProvider', function ($stateProvider) {
        $stateProvider
            .state('teacher', {
                url: '/teacher',
                abstract: true,
                views: {
                    '': {
                        templateUrl: 'views/teacher/teacher.html'
                    }
                }
            })
            .state('teacher.hello', {
                url: '/hello',
                views: {
                    'content': {
                        templateUrl: 'views/teacher/hello.html'
                    }
                }
            })
            .state('teacher.list', {
                url: '/list',
                views: {
                    'content': {
                        templateUrl: 'views/teacher/list/teacherList.html',
                        controller:'teacherController'
                    }
                }
            })
            .state('teacher.score', {
                url: '/score',
                views: {
                    'content': {
                        templateUrl: 'views/teacher/score/teacherScore.html'
                    }
                }
            })
    }]);
